<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('showEconomyInfo',array('role_id' => $roleId,'name' => $nickname))}">角色名：{$nickname}</a>
        </li>
    </ul>
    <form class="search_form" method="get" action="{:url('showEconomyInfo')}">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th style="text-align: center">资产</th>
                 <th style="text-align: center">资产id</th>
                <th style="text-align: center">资产名称</th>
                <th style="text-align: center">数量</th>
                <th style="text-align: center">操作</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="data" item="vo" >
                <tr>
                    <td>{$vo.name}</td>
                    <td>{$vo.id}</td>
                    <td>{$vo.desc}</td>
                    <td>{$vo.value}</td>
                    
                   <td>
                        <if condition="cmf_auth_check(cmf_get_current_admin_id(),'single/PlayerManage/delete')">
                            <a class="btn btn-xs btn-danger js-ajax-delete" href="{:url('deleteItem',array('id'=>$vo['id'],'role_id' => $roleId,'num'=>$vo['value']))}">扣除</a>
                        <else/>
                            --
                        </if>
                    </td>
                </tr>
            </foreach>
            </tbody>
        </table>
    </form>
</div>
<script src="__STATIC__/js/admin.js?v=6"></script>
</body>
</html>